<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    .outer {
      width: 640px;
      margin: 50px auto;
      text-align: center;
    }
  </style>
  <script defer src="./Script/9.练习.js"></script>
  <body>
    <div class="outer">
      <!-- 显示第几张图片,一共有多少张图片 -->
      <p class="info">1</p>
      <div class="img-wrapper">
        <img src="./images/1.png" alt="这是一个图片" />
      </div>
      <div class="btn-wrapper">
        <button id="prev">上一张</button>
        <button id="next">下一张</button>
      </div>
    </div>
  </body>
</html>
